package com.yc.cloud.admin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * 摄像头时间段配置 视图对象
 *
 * @author kinggu
 * @since 2025-10-14
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "HwCameraTimeSlotVo", description = "摄像头时间段配置视图对象")
public class HwCameraTimeSlotVo {

    @ApiModelProperty(value = "ID")
    private Long id;
    
    @ApiModelProperty(value = "时间段名称")
    private String slotName;
    
    @ApiModelProperty(value = "开始时间（HH:mm:ss）")
    private LocalTime startTime;
    
    @ApiModelProperty(value = "结束时间（HH:mm:ss）")
    private LocalTime endTime;
    
    @ApiModelProperty(value = "生效星期，逗号分隔：1,2,3,4,5,6,7（周一到周日）")
    private String daysOfWeek;
    
    @ApiModelProperty(value = "时间段描述")
    private String description;
    
    @ApiModelProperty(value = "是否跨日时间段：true-跨日，false-不跨日")
    private Boolean crossDay;
    
    @ApiModelProperty(value = "时间段状态：0-禁用，1-启用")
    private Byte status;
    
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    
}

